syslog_messages

Configuration for System Log Message resource.

Read/write properties

module<String>

Module name.

app_name<String>

Application Name.

activity<String>

Activity.

id<String>

Id is system generated key for all the system log entries.

severity<String>

Severity of the message.

event_type<String>

Event type.

user_name_enc<String>

User Name.

user_id<String>

User ID.

message<String>

Message.

source<String>

Source IP Address.

user_name<String>

User Name.

system_time<String>

System Time in local timezone.

instance_ip<String>

Instance IP Address.

Read only properties

system_gmt_time<Integer>

System Time in GMT timezone.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/syslog_messages

Query-parameters:

filter

https://<MGMT-IP>/nitro/v2/config/syslog_messages?filter=property-name1:property-value1,property-name2:property-value2

Use this query-parameter to get the filtered set of syslog_messages resources configured on the system. You can set a filter on any property of the resource.

pagesize=#no&pageno=#no

https://<MGMT-IP>/nitro/v2/config/syslog_messages?pagesize=#no&pageno=#no

Use this query-parameter to get the syslog_messages resources in chunks.

count

https://<MGMT-IP>/nitro/v2/config/syslog_messages?count=yes

Use this query-parameter to get the count of syslog_messages resources.

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "syslog_messages":[{
      "module":<String_value>,
      "system_gmt_time":<Integer_value>,
      "app_name":<String_value>,
      "activity":<String_value>,
      "id":<String_value>,
      "severity":<String_value>,
      "event_type":<String_value>,
      "user_name_enc":<String_value>,
      "user_id":<String_value>,
      "message":<String_value>,
      "source":<String_value>,
      "user_name":<String_value>,
      "system_time":<String_value>,
      "instance_ip":<String_value>}]}